<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="<?php echo X_UA_COMPATIBLE; ?>" />
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo G_STATIC_URL; ?>/common/apple_touch_icon.png" />
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo G_STATIC_URL; ?>/common/apple_touch_icon_114x114.png" />
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo G_STATIC_URL; ?>/common/apple_touch_icon_72x72.png" />
    <link rel="apple-touch-icon-precomposed" href="<?php echo G_STATIC_URL; ?>/common/apple_touch_icon_57x57.png" />
    <link rel="stylesheet" type="text/css" href="<?php echo G_STATIC_URL; ?>/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo G_STATIC_URL; ?>/css/icon.css" />
    <link href="<?php echo G_STATIC_URL; ?>/css/reader.css" rel="stylesheet" type="text/css" />
    <title><?php echo $this->page_title; ?></title>
    <base target="_blank" />
    <script type="text/javascript">
        var G_BASE_URL = '<?php echo base_url(); ?><?php if (get_setting('url_rewrite_enable') != 'Y') { ?>/<?php echo rtrim(G_INDEX_SCRIPT, '/'); ?><?php } ?>';
        var G_STATIC_URL = '<?php echo G_STATIC_URL; ?>';
    </script>
    <script src="<?php echo G_STATIC_URL; ?>/js/jquery.js?v=<?php echo G_VERSION_BUILD; ?>" type="text/javascript"></script>
    <script src="<?php echo G_STATIC_URL; ?>/js/app/reader.js?v=<?php echo G_VERSION_BUILD; ?>" type="text/javascript"></script>
<!--[if lte IE 6]>
<script type="text/javascript">
    $(document).ready(function () {
        $('#left_panel').addClass('hide');
    });
</script>
<![endif]-->
</head>

<body>
    <!--[if lte IE 6]>
    <div style="color:red;font-size:18px"><?php _e('你正在使用的浏览器版本太低, 将不能正常浏览本站的所有功能. 请升级 <a href="http://windows.microsoft.com/zh-CN/internet-explorer/downloads/ie">Internet Explorer</a> 或使用 <a href="http://www.google.com/chrome/">Google Chrome</a> 浏览器'); ?></div>
    <![endif]-->
    <div class="aw-reader">
        <div class="container">
            <div class="row">
                <div class="col-md-3 col-sm-3 pull-left aw-reader-side" id="left_panel" >
                    <div class="header">
                        <a href="<?php echo base_url(); ?>" target="_top"><i class="icon icon-home"></i>返回</a>
                        <h1 class="logo"><i class="icon icon-reader"></i> <?php _e('问答阅读'); ?></h1>
                    </div>

                    <div class="filter">
                        <div class="dropdown-list-wrap" <?php if (sizeof($this->feature_list) == 0) { ?> class="collapse"<?php } ?>>
                            <span>全部内容</span>
                            <div class="dropdown-list">
                                <ul>
                                    <li><a>全部内容</a></li>
                                    <?php if ($this->feature_list) { ?>
                                    <?php foreach($this->feature_list AS $key => $val) { ?>
                                    <li ><a><?php echo $val['title']; ?></a></li>
                                    <?php } ?>
                                    <?php } ?>
                                </ul>
                            </div>
                            <i class="icon icon-down"></i>
                        </div>

                        <select id="feature_selecter"<?php if (sizeof($this->feature_list) == 0) { ?> class="collapse"<?php } ?>>
                            <option value=""><?php _e('全部内容'); ?></option>
                            <?php if ($this->feature_list) { ?>
                            <?php foreach($this->feature_list AS $key => $val) { ?>
                            <option value="<?php echo $val['id']; ?>"><?php echo $val['title']; ?></option>
                            <?php } ?>
                            <?php } ?>
                        </select>
                    </div>

                    <div class="nav-container aw-mod">
                        <ul id="data_lister">

                        </ul>
                    </div>
                </div>

                <div class="col-md-9 col-sm-9 pull-right collapse aw-reader-content"  id="right_panel" >
                    <div class="header">
                        <a href="#" class="top-actions" id="top_actions"><?php _e('查看原问题'); ?></a>
                        <?php _e('%s 个回复', '<span id="answer_users">0</span>'); ?> <span class="middot">·</span>
                        <?php _e('%s 人关注', '<span id="focus_count">0</span>'); ?> <span class="middot">·</span>
                        <?php _e('%s 次浏览', '<span id="view_count">0</span>'); ?>
                    </div>

                    <div class="question aw-mod">
                        <div class="mod-head">
                            <div class="question-tags">
                                <ul id="question_topics" class="clearfix">
                                </ul>
                            </div>
                            <h1 class="entry-title" id="entry_title"></h1>
                        </div>
                        <div class="mod-body">
                            <div class="question-description" id="question_description">

                            </div>
                        </div>
                        <div class="mod-footer">
                            <div class="aw-answer">
                                <div class="aw-answer-info">
                                    <a href="#"><img src="" class="author-img" id="author_img" />
                                        <a href="#"><span class="author-name" id="author_name"></span></a>
                                        <span class="author-intro" id="author_intro"></span>
                                    </div>

                                    <div class="aw-answer-body">
                                        <div class="answer-vote-info collapse" id="answer_vote_info">
                                            <span class="vote-info-num"><span id="vote_info_num">0</span></span>
                                            <?php _e('赞同来自'); ?>
                                            <ul class="vote-info-users-list" id="vote_info_users_list">

                                            </ul>

                                            <ul class="vote-info-users-list collapse" id="vote_info_users_list_more">

                                            </ul>

                                            <span><a class="vote-info-more-link" id="vote_info_more_link" onclick="$(this).hide(); $('#vote_info_users_list_more').show(); return false;" href="javascript:;"><?php _e('更多'); ?></a></span>
                                        </div>

                                        <div class="entry-content answer-text" id="answer_content">

                                        </div>

                                        <div class="aw-answer-meta">
                                            <span id="add_time"></span> <!--<span class="middot">·</span> 分享答案 <span class="middot">·</span> 收藏到 Evernote-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </body>
        </html>
